﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;

namespace blackhouse.Web.Composite {
	public class CompositeHyperLink : CompositeControl<HyperLink> {

		public CompositeHyperLink(params HyperLink[] links):base(links) {}

		#region Methods

		public void SetToolTip(string tooltip) {
			this.ExecuteOfAllControls(l => l.ToolTip = tooltip);
		}

		public void SetNavigateUrl(string url) {
			this.ExecuteOfAllControls(l => l.NavigateUrl = url);
		}

		#endregion

	}
}